﻿using System;
using System.Runtime.Serialization;

namespace Unity.Environment.Exceptions
{
    [Serializable]
    public sealed class EnvironmentParameterNotFoundException : ArgumentException
    {
        public EnvironmentParameterNotFoundException() : base() { }
        public EnvironmentParameterNotFoundException(string message, string parameterName)
            : base(message, parameterName)
        { }

        private EnvironmentParameterNotFoundException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {}

        public override void GetObjectData(SerializationInfo info, StreamingContext context)   
        {
            base.GetObjectData(info, context);
        }

    }
}
